<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/doLogin" method="post">
    账号 <input type="text" name="name" />
    <br />密码 <input type="password" name="password" />
    <input type="hidden" name="url" th:value="${url}" />[[${session.url}]]
    <button type="submit">提交</button>
</form>
</body>
</html>